﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="goods_add08.aspx.cs" Inherits="admin_product_goods_add08" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>万礼通后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
   
    <script language='javascript'>

	function clicka()
	{
	<% if (Request.QueryString["pid"] != null){}else{%>
	alert("- 商品名称不能为空。\n- 商品分类不能不选");
	return false;
	<%} %>
	    var ja=0;
		for (var ia=0;ia<document.form1.parameter_1.length;ia++) 
		{
			if (document.form1.parameter_1[ia].checked == false) ja++;
		}
		if (ja >= document.form1.parameter_1.length) 
		{
			alert('请选择价格区间！');
			document.form1.parameter_1[0].focus();
			return false;
		}
		var j2=0;
		for (var i2=0;i2<document.form1.parameter_2.length;i2++) {
			if (document.form1.parameter_2[i2].checked == false) j2++;
		}
		if (j2 >= document.form1.parameter_2.length) 
		{
			alert('请选择手机外型！');
			document.form1.parameter_2[0].focus();
			return false;
		}
		 var j3=0;
		for (var i3=0;i3<document.form1.parameter_3.length;i3++) {
			if (document.form1.parameter_3[i3].checked == false) j3++;
		}
		if (j3 >= document.form1.parameter_3.length) 
		{
			alert('请选择拍照像素！');
			document.form1.parameter_3[0].focus();
			return false;
		}
		 var j4=0;
		for (var i4=0;i4<document.form1.parameter_4.length;i4++) {
			if (document.form1.parameter_4[i4].checked == false) j4++;
		}
		if (j4 >= document.form1.parameter_4.length) 
		{
			alert('请选择网络制式！');
			document.form1.parameter_4[0].focus();
			return false;
		}
		 var j5=0;
		for (var i5=0;i5<document.form1.parameter_5.length;i5++) {
			if (document.form1.parameter_5[i5].checked == false) j5++;
		}
		if (j5 >= document.form1.parameter_5.length) 
		{
			alert('请选择和弦铃声！');
			document.form1.parameter_5[0].focus();
			return false;
		}
		 var j6=0;
		for (var i6=0;i6<document.form1.parameter_6.length;i6++) {
			if (document.form1.parameter_6[i6].checked == false) j6++;
		}
		if (j6 >= document.form1.parameter_6.length) 
		{
			alert('请选择屏幕参数！');
			document.form1.parameter_6[0].focus();
			return false;
		}
		 var j7=0;
		for (var i7=0;i7<document.form1.parameter_7.length;i7++) {
			if (document.form1.parameter_7[i7].checked == false) j7++;
		}
		if (j7 >= document.form1.parameter_7.length) 
		{
			alert('请选择操作系统！');
			document.form1.parameter_7[0].focus();
			return false;
		}
	}

	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <%if (Request.QueryString["pid"] != null){ %>
  <table width="90%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr align="center">
      <td bgcolor="#E2E7EB"><a href="goods_add.aspx?pid=<%=Request.QueryString["pid"]%>">通用信息</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add02.aspx?pid=<%=Request.QueryString["pid"]%>">详细描述</a></td>
      <!--td bgcolor="#C9D2DA"><a href="goods_add08.aspx?pid=<%=Request.QueryString["pid"]%>" class="menu02">商品参数</a></td-->
      <td bgcolor="#E2E7EB"><a href="goods_add03.aspx?pid=<%=Request.QueryString["pid"]%>">其他信息</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add04.aspx?pid=<%=Request.QueryString["pid"]%>">商品相册</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add05.aspx?pid=<%=Request.QueryString["pid"]%>">关联商品</a></td>
      <!--td bgcolor="#E2E7EB"><a href="goods_add06.aspx?pid=<%=Request.QueryString["pid"]%>">配件</a></td-->
      <td bgcolor="#E2E7EB"><a href="goods_add07.aspx?pid=<%=Request.QueryString["pid"]%>">关联文章</a></td>
    </tr>
  </table>
  <%}else{ %>
  <table width="90%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr align="center">
      <td bgcolor="#E2E7EB"><a href="goods_add.aspx">通用信息</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add02.aspx">详细描述</a></td>
      <!--td bgcolor="#C9D2DA"><a href="goods_add08.aspx" class="menu02">商品参数</a></td-->
      <td bgcolor="#E2E7EB"><a href="goods_add03.aspx">其他信息</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add04.aspx">商品相册</a></td>
      <td bgcolor="#E2E7EB"><a href="goods_add05.aspx">关联商品</a></td>
      <!--td bgcolor="#E2E7EB"><a href="goods_add06.aspx">配件</a></td-->
      <td bgcolor="#E2E7EB"><a href="goods_add07.aspx">关联文章</a></td>
    </tr>
  </table>
  <%} %>
  <br />
  <table width="90%" border="0" cellpadding="5" cellspacing="0">
    <tr>
      <td align="right" class='title01' width=15%>价格区间</td>
      <td><%=shuxinstr1%> </td>
    </tr>
    <tr>
      <td align="right" class='title01'>手机外型</td>
      <td><%=shuxinstr2%> </td>
    </tr>
    <tr>
      <td align="right" class='title01'>拍照像素</td>
      <td><%=shuxinstr3%> </td>
    </tr>
    <tr>
      <td align="right" class='title01'>网络制式</td>
      <td><%=shuxinstr4%> </td>
    </tr>
    <tr>
      <td align="right" class='title01'>和弦铃声</td>
      <td><%=shuxinstr5%> </td>
    </tr>
    <tr>
      <td align="right" class='title01'>屏幕参数</td>
      <td><%=shuxinstr6%> </td>
    </tr>
    <tr>
      <td align="right" class='title01'>操作系统</td>
      <td><%=shuxinstr7%> </td>
    </tr>
    <tr>
      <td align="right" class='title01'>蓝牙</td>
      <td>
          <input name="para_1" type="radio" value="1" <%if (params_1=="1"){ %> checked <%} %> />支持
          <input name="para_1" type="radio" value="0" <%if (params_1=="0"){ %> checked <%} %> />不支持&nbsp; &nbsp;<input name="para_01" type="text" value="<%=params_01 %>" /></td>
    </tr>
    <tr>
      <td align="right" class='title01'>扩展卡</td>
      <td>
          <input name="para_2" type="radio" value="1" <%if (params_2=="1"){ %> checked <%} %> />支持
          <input name="para_2" type="radio" value="0" <%if (params_2=="0"){ %> checked <%} %> />不支持&nbsp; &nbsp;<input name="para_02" type="text" value="<%=params_02 %>" /></td>
    </tr>
    <tr>
      <td align="right" class='title01'>MP3播放</td>
      <td>
          <input name="para_3" type="radio" value="1" <%if (params_3=="1"){ %> checked <%} %> />支持
          <input name="para_3" type="radio" value="0" <%if (params_3=="0"){ %> checked <%} %> />不支持&nbsp; &nbsp;<input name="para_03" type="text" value="<%=params_03 %>" /></td>
    </tr>
    <tr>
      <td align="right" class='title01'>WIFI</td>
      <td>
          <input name="para_4" type="radio" value="1" <%if (params_4=="1"){ %> checked <%} %> />支持
          <input name="para_4" type="radio" value="0" <%if (params_4=="0"){ %> checked <%} %> />不支持&nbsp; &nbsp;<input name="para_04" type="text" value="<%=params_04 %>" /></td>
    </tr>
    <tr>
      <td align="right" class='title01'>手写输入</td>
      <td>
          <input name="para_5" type="radio" value="1" <%if (params_5=="1"){ %> checked <%} %> />支持
          <input name="para_5" type="radio" value="0" <%if (params_5=="0"){ %> checked <%} %> />不支持&nbsp; &nbsp;<input name="para_05" type="text" value="<%=params_05 %>" /></td>
    </tr>
    <tr>
      <td align="right" class='title01'>收音机</td>
      <td>
          <input name="para_6" type="radio" value="1" <%if (params_6=="1"){ %> checked <%} %> />支持
          <input name="para_6" type="radio" value="0" <%if (params_6=="0"){ %> checked <%} %> />不支持&nbsp; &nbsp;<input name="para_06" type="text" value="<%=params_06 %>" /></td>
    </tr>
    <tr>
      <td align="right" class='title01'>录音</td>
      <td>
          <input name="para_7" type="radio" value="1" <%if (params_7=="1"){ %> checked <%} %> />支持
          <input name="para_7" type="radio" value="0" <%if (params_7=="0"){ %> checked <%} %> />不支持&nbsp; &nbsp;<input name="para_07" type="text" value="<%=params_07 %>" /></td>
    </tr>
    <tr>
      <td align="right" class='title01'>超薄</td>
      <td>
          <input name="para_8" type="radio" value="1" <%if (params_8=="1"){ %> checked <%} %> />支持
          <input name="para_8" type="radio" value="0" <%if (params_8=="0"){ %> checked <%} %> />不支持&nbsp; &nbsp;<input name="para_08" type="text" value="<%=params_08 %>" /></td>
    </tr>
    <tr>
      <td align="right" class='title01'>红外接口</td>
      <td>
          <input name="para_9" type="radio" value="1" <%if (params_9=="1"){ %> checked <%} %> />支持
          <input name="para_9" type="radio" value="0" <%if (params_9=="0"){ %> checked <%} %> />不支持&nbsp; &nbsp;<input name="para_09" type="text" value="<%=params_09 %>" /></td>
    </tr>
    <tr>
      <td height="40" colspan="2" align="center">
      <asp:ImageButton ID="ImageButton1" ImageUrl="../images/buttom-02.gif" runat="server" OnClick="ImageButton1_Click" />
       <a href="javascript:form1.reset();"><img src="../images/button03.gif" border="0" /></a></td>
    </tr>
  </table>
  <br /></td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>